export function checkoutSessionCompleted(auth0Id: string) {
    return {
        id: 'evt_1M7QkDKXgym9ohnqSTEo8Ld7',
        object: 'event',
        api_version: '2020-08-27',
        created: 1669239877,
        data: {
            object: {
                id: 'cs_test_a1xaDeO7ZjBfzeHax678rFBTSzKOz6KXLzRT67eIuV8vSLUtfYBeuNK3wO',
                object: 'checkout.session',
                after_expiration: null,
                allow_promotion_codes: null,
                amount_subtotal: 0,
                amount_total: 0,
                automatic_tax: {
                    enabled: false,
                    status: null,
                },
                billing_address_collection: null,
                cancel_url: 'http://localhost:4200/settings?tab=billing&status=cancelled',
                client_reference_id: auth0Id,
                consent: null,
                consent_collection: null,
                created: 1669239822,
                currency: 'usd',
                custom_text: {
                    shipping_address: null,
                    submit: null,
                },
                customer: Cypress.env('STRIPE_CUSTOMER_ID'),
                customer_creation: null,
                customer_details: {
                    address: {
                        city: null,
                        country: 'US',
                        line1: null,
                        line2: null,
                        postal_code: '15116',
                        state: null,
                    },
                    email: 'josh@maybe.co',
                    name: 'Josh Pigford',
                    phone: null,
                    tax_exempt: 'none',
                    tax_ids: [],
                },
                customer_email: null,
                expires_at: 1669326222,
                livemode: false,
                locale: null,
                metadata: {},
                mode: 'subscription',
                payment_intent: null,
                payment_link: null,
                payment_method_collection: 'always',
                payment_method_options: {},
                payment_method_types: ['card'],
                payment_status: 'paid',
                phone_number_collection: {
                    enabled: false,
                },
                recovered_from: null,
                setup_intent: 'seti_1M7QkBKXgym9ohnqvu77sXgO',
                shipping: null,
                shipping_address_collection: null,
                shipping_options: [],
                shipping_rate: null,
                status: 'complete',
                submit_type: null,
                subscription: Cypress.env('STRIPE_SUBSCRIPTION_ID'),
                success_url: 'http://localhost:4200/settings?tab=billing&status=success',
                total_details: {
                    amount_discount: 0,
                    amount_shipping: 0,
                    amount_tax: 0,
                },
                url: null,
            },
        },
        livemode: false,
        pending_webhooks: 4,
        request: {
            id: null,
            idempotency_key: null,
        },
        type: 'checkout.session.completed',
    }
}
